package cn.jimu98.dao;

import cn.jimu98.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname PaymentDao
 * @Description TODO
 * @Date 2020/6/25 21:47
 * @Created by kaibo
 */
@Mapper  //为了交给spring管理
public interface PaymentDao {
    //写
    public int create(Payment payment);
    //读
    public Payment getPaymentById(@Param("id") Long id);

}
